package com.scorpio.agentuser.service;

import com.alibaba.fastjson.JSONObject;
import com.scorpio.agentuser.domain.AgentPayUserEntity;

import java.util.Date;
import java.util.List;

public interface AgentPayUserService {
    List<AgentPayUserEntity> list();
    List<AgentPayUserEntity> notGranTlist();
    int updateIncomeGrant(Long id, String grant);
    JSONObject statistics(Long agentId, Integer type, Date quertDate);
    JSONObject statisticsPie(Long agentId, Integer type, Date quertDate);
    Float countRegTotali(Long agentId, Date date, Integer recLevel, Integer dateLength);

}
